package beans;
import java.util.ArrayList;


/**
 * Created with IntelliJ IDEA.
 * User: shprotik
 * Date: 05.04.12
 * Time: 0:35
 * To change this template use File | Settings | File Templates.
 */
public class SessionScopeBean {
    private ArrayList<Inner> information;
    private Inner element;

    public SessionScopeBean()
    {
        information = new ArrayList<Inner>();
        element = new Inner();
    }
    public ArrayList<Inner> getList()
    {
        return information;
    }
    public Inner getElement()
    {
        return  element = new Inner();
    }
    public class Inner {
        private String name;
        private String secondName;
        private String surname;
        private Long id;
        public void setId(Long id)
        {
            this.id=id;
        }
        public Long getId()
        {
            return this.id;

        }
        public void setName(String name)
        {
            this.name=name;
        }
        public String getName()
        {
            return this.name;

        }
        public void setSecondName(String sname)
        {
            this.secondName=sname;
        }
        public String getSecondName()
        {
            return this.secondName;
        }
        public void setSurname(String surname)
        {
            this.surname=surname;
        }
        public String getSurname()
        {
            return this.surname;
        }

    }

}